
#include "cmd_centre.h"

using namespace vpm::cmo;

CmdCentre * CmdCentre::m_instance; 

CmdCentre & CmdCentre::instance()
{
	if (m_instance == NULL)
	{
		m_instance = new CmdCentre(); 
	}
	return *m_instance;
}

CmdCentre::CmdCentre()
{		
	m_defaultView.reset(new CmdView());
	m_defaultView->set_view_user("wkui");

	

	// 				m_defaultView->add_command(cmd_help,this);		
	// 				m_defaultView->add_command(cmd_ls,this);
	// 				m_defaultView->add_command(cmd_cd_view,this);
	// 				m_defaultView->add_command(cmd_about,this);
	// 				m_defaultView->add_command(cmd_exit,this);
}

